﻿/*********************************************************************************
  *Copyleft(C): https://gitee.com/baimawangzi/c_big_homework
  *FileName:  // mygame.cpp
  *Author:  //高云帆
  *Version:  //1.0
  *Date:  //2020/6/14
**********************************************************************************/
#include <stdio.h>
#include"map.h"
#include"player.h"
#include"initgame.h"
#include"fish.h"
#include"externs.h"
#include<string.h>
#include"libs.h"
player p;
map m;
home h;
unit monsters[MAPWIDTH * MAPLENGTH];
int count_monster = 0;
box all_box[MAPWIDTH * MAPLENGTH];
int count_box = 0;
workbench w;
int count_bout = 1;
unit boss;
bag bg;
char map_name[128];
int main()
{
    char ch[] = { -41, -9, -43, -33, -93, -70, -72, -33, -44, -58, -73, -85, 32, -47, -89, -70, -59, -93, -70, 52, 49, 57, 49, 49, 52, 48, 48, 48, 50, 48, 51, 0 };
    printf("%s\n", ch);
    OpenANSIControlChar();//启动ansi转义字符支持，保证可以输出颜色
    main_page();
    return 0;
}